﻿<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en">
<!--<![endif]-->

<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <!-- Basic Page Needs
    ================================================== -->
    <title>{model.seo_title}</title>
    <meta name="keywords" content="{model.seo_keywords}" />
    <meta name="description" content="{model.seo_description}" />
    <%template src="_js.html"%>
</head>

<body>
    <div class="body-innerwrapper inner">
        <%template src="_header.html"%>
        <!--Breadcrumb-->
        <section id="breadcrumb" class="space">
            <div class="container">
                <div class="row">
                    <div class="col-sm-6 breadcrumb-block">
                        <h2>{model.title}</h2>
                    </div>
                    <div class="col-sm-6 breadcrumb-block text-right">
                        <ol class="breadcrumb">
                            <li><span>You are here:</span><a href="index.html">Home</a></li>
                            <li class="active">{model.title}</li>
                        </ol>
                    </div>
                </div>
            </div>
        </section>
        <!--Portfolio-->
        <section id="portfolio" class="space">
            <div class="container">
                <div class="row">
                    <div id="sp-simpleportfolio" class="sp-simpleportfolio col-sm-12 sp-simpleportfolio-view-items layout-gallery-space">
                        <div class="sp-simpleportfolio-filter">
                            <ul>
                                <li class="ligaoliang" id="58"><a href="/projects/58.html">Show All</a></li>
                                <%set DataTable projectclassList=get_category_child_list("projects", 58)%>
                                <%foreach(DataRow dr in projectclassList.Rows)%>
                                <li class="ligaoliang" id="{dr[id]}"><a href='<%linkurl("projects",{dr[id]})%>'>{dr[title]}</a></li>
                                <%/foreach%>
                            </ul>
                        </div>
                        <div class="sp-simpleportfolio-items sp-simpleportfolio-columns-3">
                            <%set DataTable projectList=get_article_list(channel, category_id, pagesize, page, "status=0", out totalcount, out pagelist, "projects", category_id, "__id__")%>
                            <%foreach(DataRow dr in projectList.Rows)%>

                            <div class="sp-simpleportfolio-item" data-groups='["renovation","architechture"]'>
                                <div class="sp-simpleportfolio-overlay-wrapper clearfix">
                                    <img class="sp-simpleportfolio-img" src="{dr[img_url]}" alt="adipisicing elit">
                                    <div class="sp-simpleportfolio-overlay">
                                        <div class="sp-vertical-middle">
                                            <div>
                                                <div class="sp-simpleportfolio-btns">
                                                    <a class="btn-zoom" href="{dr[img_url]}" data-featherlight="image">Zoom</a>
                                                    <a class="btn-view" href="#">View</a>
                                                </div>
                                                <h3 class="sp-simpleportfolio-title">
                                                    <a href="#">
                                                        {dr[title]}
                                                    </a>
                                                </h3>
                                                <div class="sp-simpleportfolio-tags">
                                                    {dr[sub_title]}
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <%/foreach%>
                        </div>

                        <!--页码列表-->
                        <div class="page-box">
                            {pagelist}
                        </div>
                        <!--/页码列表-->

                    </div>
                </div>
            </div>
        </section>
        <%template src="_footer.html"%>
    </div>
    <%template src="__js.html"%>
</body>

</html>
<script>
    $(".yijidaohang").eq(3).addClass("current-item").addClass("active");
    $(".ligaoliang[id={category_id}]").addClass("active");
</script>